import React, { Component } from 'react'
import bus from './bus'

export default class Brother2 extends Component {
  // mounted
  componentDidMount () {
    bus.on('myevent', value => {
      console.log('---Brother2---', value)
    })
  }

  render () {
    return <div>Brother2</div>
  }
}
